//
//  RadioStationsViewController.h
//  PartyAnimal
//
//  Created by Hilary Muludiang on 4/23/12.
//  Copyright 2012 Muludiang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import "AudioStreamer.h"

@interface RadioStationsViewController : UIViewController <AVAudioPlayerDelegate, ADBannerViewDelegate> {
	UIView *contentView;


}

@property(nonatomic,retain) IBOutlet UIView *contentView;

@property(nonatomic,retain) AudioStreamer *player;
@property(nonatomic,retain) IBOutlet UIButton *playPauseBtn;
@property(nonatomic,retain) IBOutlet UILabel *stationLabel;
@property(nonatomic,retain) IBOutlet UILabel *bkgdLabel;
@property(nonatomic,retain) IBOutlet UISlider *volumeSlider;
@property(nonatomic,retain) IBOutlet UISegmentedControl *stationSelector;
@property(nonatomic,retain) NSURL *radioURL;
@property(nonatomic,retain) NSString *escapedURL;

-(IBAction)playOrPause:(UIButton *)sender;
-(IBAction)selectStation:(id)sender;
-(void)destroyPlayer;
-(void)spinButton;
@end
